using System;
using System.Collections.Generic;

namespace Xoohoo.Repositories.SqlServerEF.Entities
{
	public class UserGroup
	{
	    public UserGroup()
		{
			this.Users = new List<User>();
			this.Roles = new List<Role>();
		}

		public Nullable<System.Guid> ParentID { get; set; }
		public System.Guid UserGroupID { get; set; }
		public string UserGroupName { get; set; }
		public int UserGroupLevel { get; set; }
		public int DisplayOrder { get; set; }
		public bool IsSystem { get; set; }
		public virtual ICollection<User> Users { get; set; }
		public virtual ICollection<Role> Roles { get; set; }
	}
}

